﻿@using PlatformNetCore.Entity;
@{
    ViewBag.Title = "首页";
    Company company = ViewBag.CompanyInfo;
    Layout = "~/Areas/Admin/Views/Shared/_LayoutPartial.cshtml";
}
@model AdminInfo

<div class="layui-body">
    <div class="layui-fluid" style="padding-top: 15px;">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class=" layui-card">
                    <div class="layui-card-body">
                        <ul class="box-ovn">
                            <li>
                                <a lay-href="/Admin/News/DocumentList">
                                    <h3>文献</h3>
                                </a>
                                <p><cite>@Model.DocumentCount 篇</cite></p>
                            </li>
                            <li>
                                <a lay-href="/Admin/News/NewsList">
                                    <h3>员工分享</h3>
                                </a>
                                <p><cite>@Model.ShareCount 篇</cite></p>
                            </li>
                            <li>
                                <a lay-href="/Admin/Videos/VideosList">
                                    <h3>视频中心</h3>
                                </a>
                                <p><cite>@Model.VideosCount 个</cite></p>
                            </li>
                            <li>
                                <a lay-href="/Admin/Images/ImagesList">
                                    <h3>图片</h3>
                                </a>
                                <p><cite>@Model.ImagesCount 张</cite></p>
                            </li>
                            <li>
                                <a lay-href="/Admin/Jobs/JobsList">
                                    <h3>招聘岗位</h3>
                                </a>
                                <p><cite>@Model.JobsCount 个</cite></p>
                            </li>
                            <li>
                                <a lay-href="/Admin/Partner/PartnerList">
                                    <h3>友情链接</h3>
                                </a>
                                <p><cite>@Model.PageCount 个</cite></p>
                            </li>
                            <li>
                                <a lay-href="/Admin/Subscribe/SubscribeList">
                                    <h3>留言</h3>
                                </a>
                                <p><cite>@Model.SubscribeCount 个</cite></p>
                            </li>
                            <li>
                                <a lay-href="/Admin/FAQs/FAQsList">
                                    <h3>常见问题</h3>
                                </a>
                                <p><cite>@Model.FAQsCount 个</cite></p>
                            </li>
                            <li>
                                <a lay-href="/Admin/Ad/AdList">
                                    <h3>广告</h3>
                                </a>
                                <p><cite>@Model.AdCount 个</cite></p>
                            </li>
                            <li>
                                <a lay-href="/Admin/Basis/SinglePageList">
                                    <h3>页面</h3>
                                </a>
                                <p><cite>@Model.PageCount 个</cite></p>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header">基本信息</div>
                    <div class="layui-card-body layui-text">
                        <table class="layui-table">
                            <colgroup>
                                <col width="100">
                                <col>
                            </colgroup>
                            <tbody>
                                <tr>
                                    <td>网站名称</td>
                                    <td>
                                        @company.SiteName
                                    </td>
                                </tr>
                                <tr>
                                    <td>联系电话</td>
                                    <td>
                                        @company.ContactPhone
                                    </td>
                                </tr>
                                <tr>
                                    <td>联系邮箱</td>
                                    <td>@company.Email</td>
                                </tr>
                                <tr>
                                    <td>联系地址</td>
                                    <td>@company.Address</td>
                                </tr>
                                <tr>
                                    <td>备案号</td>
                                    <td style="padding-bottom: 0;">
                                        @company.WebNumber
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>